package com.luckyframe.project.jmeter.jmeterNodeJobRel.domain;

import com.luckyframe.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 节点任务表 jmeter_node_job_rel
 * 
 * @author lancelot
 * @date 2020-12-07
 */
public class JmeterNodeJobRel extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/**  */
	private Long id;
	/** 节点id */
	private Long nodeId;
	/** 节点名称 */
	private Integer nodeName;
	/** 节点id */
	private String planId;
	/** 节点名称 */
	private Integer planName;
	/** 节点id */
	private Long caseId;
	/** 节点id */
	private String caseName;
	/** refer to plan_record id  */
	private Long jobId;
	/** 创建时间 */
	private Date addTime;

	public void setId(Long id) 
	{
		this.id = id;
	}

	public Long getId() 
	{
		return id;
	}
	public void setNodeId(Long nodeId) 
	{
		this.nodeId = nodeId;
	}

	public Long getNodeId() 
	{
		return nodeId;
	}
	public void setNodeName(Integer nodeName) 
	{
		this.nodeName = nodeName;
	}

	public Integer getNodeName() 
	{
		return nodeName;
	}
	public void setPlanId(String planId) 
	{
		this.planId = planId;
	}

	public String getPlanId() 
	{
		return planId;
	}
	public void setPlanName(Integer planName) 
	{
		this.planName = planName;
	}

	public Integer getPlanName() 
	{
		return planName;
	}
	public void setCaseId(Long caseId) 
	{
		this.caseId = caseId;
	}

	public Long getCaseId() 
	{
		return caseId;
	}
	public void setCaseName(String caseName) 
	{
		this.caseName = caseName;
	}

	public String getCaseName() 
	{
		return caseName;
	}
	public void setJobId(Long jobId) 
	{
		this.jobId = jobId;
	}

	public Long getJobId() 
	{
		return jobId;
	}
	public void setAddTime(Date addTime) 
	{
		this.addTime = addTime;
	}

	public Date getAddTime() 
	{
		return addTime;
	}

    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("nodeId", getNodeId())
            .append("nodeName", getNodeName())
            .append("planId", getPlanId())
            .append("planName", getPlanName())
            .append("caseId", getCaseId())
            .append("caseName", getCaseName())
            .append("jobId", getJobId())
            .append("addTime", getAddTime())
            .toString();
    }
}
